﻿using System;

public partial class Admin_Pages_viForum_Categories_Categories : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }

    protected void ListView1_ItemInserting(object sender, System.Web.UI.WebControls.ListViewInsertEventArgs e)
    {
        //string name = e.Values["Name"].ToString();
        //if (CategoryController.CategoryNameExist(name))
        //{
        //    MESSAGE.Text = "This Category already exist.";
        //    MESSAGE.Visible = true;
        //    e.Cancel = true;
        //}   
    }
}
